/*
 * @Author: yangrongxin
 * @Date: 2021-04-16 18:06:02
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-09-14 10:43:26
 */

import RequestDecorator, { Controller } from '../decorator';

@Controller('/customer/user')
class User {
  name = 'User';

  // 获取用户详情数据
  @RequestDecorator.Post()
  static queryUserDetail = '/detail';

  // 修改当前的用户信息
  @RequestDecorator.Post()
  static updateUserInfo = '/update';

  // 获取当前是不是今日第一次进入
  @RequestDecorator.Post()
  static getConfirmInfoFlag = '/getConfirmInfoFlag';

  // 更新当前用户的基本信息
  @RequestDecorator.Post()
  static updateBaseInfo = '/updateBaseInfo';
}

export default User;
